<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>静态文章更新 </title>
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<script type="text/javascript" src="${base}/res/comm/js/jquery/jquery.js"></script>
<script type="text/javascript" src="${base}/res/admin/js/admin.js"></script>
	<script>
		function flush(){
			ajaxUtil('${base}/admin/cache/flush.jhtml',{
				'flush':$('#flush').val()
				},null,'json','get',flushcallback);
		}
		function flushcallback(data){
			window.alert(data.message);
		}
	</script>
</head>
<body class="input">
	<div class="body">
		<div class="inputBar">
			<h1><span class="icon">&nbsp;</span>更新缓存</h1>
		</div>
		<table class="inputTable">
			<tr>
				<th>
					更新操作选择:
				</th>
				<td>
					<select id="flush" style="width:200px;">
						<option value="all">更新所有缓存</option>
						<option value="page">更新页面缓存</option>
						<option value="data">更新数据缓存</option>
					</select>
				</td>
			</tr>	
			<tr>
		   		<td height="18" bgcolor="#FFFFFF" colspan=2 align="center">
		   			<input type="button" value="返回" onclick="window.history.back(-1)">
		   			<input type="button" value="更新缓存"  onclick="flush()"/>&nbsp;&nbsp;
		   		</td>
		   		<td width="10%"  bgcolor="#FFFFFF">&nbsp;</td>
		   	</tr>
		</table>
	</div>
</body>
</html>